package com.todo.user.application.service;

import com.todo.common.common.entity.response.page.PageResult;
import com.todo.user.application.entity.bo.FollowFriendBO;
import com.todo.user.application.entity.bo.FollowFriendInfoBO;

/**
 * (UserRelation)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:50
 */
public interface UserRelationService {

    /**
     * 查询其他用户信息
     *
     * @param currentUserId
     * @param otherUserId
     * @return
     */
    FollowFriendInfoBO queryOtherUserInfoDetail(Long currentUserId, Long otherUserId);

    /**
     * 好友关联
     *
     * @param followFriendInfoBO
     * @return
     */
    Boolean followFriend(FollowFriendInfoBO followFriendInfoBO);

    /**
     * 分页好友关联列表查询
     *
     * @param followFriendBO
     * @return
     */
    PageResult<FollowFriendInfoBO> followFriendsList(FollowFriendBO followFriendBO);
}
